import { request } from "@/api/service.js"
/**
   * @description 获取配送员
   * @param {Object} data 
   */
export function getDeliveryInfo (data = {}){
    // 接口请求
    return request({
      url: '/deliveryInfo/getDeliveryInfo',
      method: 'post',
      data: data
    })
  }
/**
  * @description 冻结配送员
  * @param {Object} data 
  */
export function freezeDeliveryInfo (data = {}){
  // 接口请求
  return request({
    url: '/deliveryInfo/freezeDeliveryInfo',
    method: 'post',
    data: data
  })
}
/**
  * @description 解冻配送员
  * @param {Object} data 
  */
export function thawDeliveryInfo (data = {}){
  // 接口请求
  return request({
    url: '/deliveryInfo/thawDeliveryInfo',
    method: 'post',
    data: data
  })
}